//
//  SLBJSONModels.h
//  CasualPay
//
//  Created by LiuYongfu on 15/10/21.
//
//

#import "SLBJSONModels.h"
#import "JSONModel.h"

//@protocol PayWeiXinModel
//@end



@interface BaseModel : JSONModel
@property (assign , nonatomic) NSInteger resultCode;
@property (strong , nonatomic) NSString *msg;
@property (strong , nonatomic) NSObject *resultData;
@end


/**
 *  公共model的基类，主要是设置所有参数都是PayWeiXinModel的
 */
@interface CommonBaseModel : JSONModel

//@property (nonatomic , retain) NSArray<PayWeiXinModel>* arr;

@end


#pragma mark - 支付
/**
 * 微信支付model
 */
@interface PayWeiXinModel : CommonBaseModel
@property (nonatomic, retain) NSString *appid;
@property (nonatomic, retain) NSString *noncestr;
@property (nonatomic, retain) NSString *package;
@property (nonatomic, retain) NSString *partnerid;
@property (nonatomic, retain) NSString *prepayid;
@property (nonatomic, retain) NSString *sign;
@property (nonatomic, assign) NSTimeInterval timestamp;
@end


